package com.example.provider.service.impl;

import com.example.common.entity.Demand;
import com.example.common.entity.Message;
import com.example.common.entity.WorkRoom;
import com.example.provider.dao.IndexDao;
import com.example.provider.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexServiceImpl implements IndexService {
    @Autowired
    private IndexDao indexDao;

    /**
     * 工作室推荐,根据评分高低
     */
    public List<WorkRoom> RecWorkroom() {
        return indexDao.searchRecWorkroom();
    }
}
